using System;
using System.Collections.Generic;
using System.Text;
namespace FSS.BLL.Entities
{
	#region VoucherDetail
	/// <summary>
	/// VoucherDetail object for IBatis mapped table 'VoucherDetail'.
	/// </summary>
	public class BaseVoucherDetailEntity : BaseEntity
	{
		#region Public Properties
			public long VoucherDetailId{ get; set; }
			public long VoucherId{ get; set; }
			public int WarehouseId{ get; set; }
			public int ProductId{ get; set; }
			public string ProductCode{ get; set; }
			public string ProductName{ get; set; }
			public int UnitId{ get; set; }
			public decimal UnitPrice{ get; set; }
			public decimal Quantity{ get; set; }
			public decimal Amount{ get; set; }
			public decimal TotalAmount{ get; set; }
            public decimal CurrencyRate { get; set; }
			public int BasicUnitId{ get; set; }
			public decimal BasicUnitPrice{ get; set; }
			public decimal BasicQuantity{ get; set; }
			public decimal BasicAmount{ get; set; }
			public decimal BasicTotalAmount{ get; set; }
			public decimal TotalCost{ get; set; }
			public decimal VATPercent{ get; set; }
			public decimal VATAmount{ get; set; }
			public decimal DiscountPercent{ get; set; }
			public decimal DiscountAmount{ get; set; }
			public string Description{ get; set; }
			public decimal QuantityExtra{ get; set; }
			public decimal UnitPriceExtra{ get; set; }
			public decimal AmountExtra{ get; set; }
			public bool IsInput{ get; set; }
			public long VoucherDetailReference{ get; set; }
			public DateTime ExpiryDate{ get; set; }
			public DateTime CreatedDate{ get; set; }
			public int CreatedBy{ get; set; }
			public DateTime UpdatedDate{ get; set; }
			public int UpdatedBy{ get; set; }
		#endregion  
	}
	#endregion  
}
